import 'ISignListData.dart';

/// registrationTime : "2023-03-06 17:17:43"
/// joinHumanIds : null
/// updatedDate : "2023-03-06 17:17:43"
/// cardNo : "330239195501021512"
/// activityId : 4378214626078720
/// isEvaluation : 0
/// checkStatus : 0
/// evaluationScore : null
/// deleteStatus : 0
/// id : 4378321950814208
/// registrationRemark : ""
/// branchId : 6627
/// regClientType : null
/// updatedBy : "5"
/// roomNo : "301"
/// activityTypeName : "线上文娱"
/// sex : 0
/// mobile : "13900000025"
/// activityName : "03-06测试活动"
/// activityNo : "HD2023030615283224659"
/// evaluationTime : null
/// joinHumanId : 9619
/// humanName : "测试老人5"
/// createdDate : "2023-03-06 17:17:43"
/// checkTime : null
/// humanId : 5
/// createdBy : "5"
/// tenantId : 1000
/// saasId : 1000
/// humanTypeName : null
/// evaluate : null
/// humanType : "1"
/// placeName : "书法室 107"
/// age : 68

class ActivitySignInListData{
  ActivitySignInListData({
      this.registrationTime, 
      this.joinHumanIds, 
      this.updatedDate, 
      this.cardNo, 
      this.activityId, 
      this.isEvaluation, 
      this.checkStatus, 
      this.evaluationScore, 
      this.deleteStatus, 
      this.id, 
      this.registrationRemark, 
      this.branchId, 
      this.regClientType, 
      this.updatedBy, 
      this.roomNo, 
      this.activityTypeName, 
      this.sex, 
      this.mobile, 
      this.activityName, 
      this.activityNo, 
      this.evaluationTime, 
      this.joinHumanId, 
      this.humanName, 
      this.createdDate, 
      this.checkTime, 
      this.humanId, 
      this.createdBy, 
      this.tenantId, 
      this.saasId, 
      this.humanTypeName, 
      this.evaluate, 
      this.humanType, 
      this.placeName, 
      this.age,});

  ActivitySignInListData.fromJson(dynamic json) {
    registrationTime = json['registrationTime'];
    joinHumanIds = json['joinHumanIds'];
    updatedDate = json['updatedDate'];
    cardNo = json['cardNo'];
    activityId = json['activityId'];
    isEvaluation = json['isEvaluation'];
    checkStatus = json['checkStatus'];
    evaluationScore = json['evaluationScore'];
    deleteStatus = json['deleteStatus'];
    id = json['id'];
    registrationRemark = json['registrationRemark'];
    branchId = json['branchId'];
    regClientType = json['regClientType'];
    updatedBy = json['updatedBy'];
    roomNo = json['roomNo'];
    activityTypeName = json['activityTypeName'];
    sex = json['sex'];
    mobile = json['mobile'];
    activityName = json['activityName'];
    activityNo = json['activityNo'];
    evaluationTime = json['evaluationTime'];
    joinHumanId = json['joinHumanId'];
    humanName = json['humanName'];
    createdDate = json['createdDate'];
    checkTime = json['checkTime'];
    humanId = json['humanId'];
    createdBy = json['createdBy'];
    tenantId = json['tenantId'];
    saasId = json['saasId'];
    humanTypeName = json['humanTypeName'];
    evaluate = json['evaluate'];
    humanType = json['humanType'];
    placeName = json['placeName'];
    age = json['age'];
  }
  String? registrationTime;
  dynamic joinHumanIds;
  String? updatedDate;
  String? cardNo;
  num? activityId;
  num? isEvaluation;
  num? checkStatus;
  dynamic evaluationScore;
  num? deleteStatus;
  num? id;
  String? registrationRemark;
  num? branchId;
  dynamic regClientType;
  String? updatedBy;
  String? roomNo;
  String? activityTypeName;
  num? sex;
  String? mobile;
  String? activityName;
  String? activityNo;
  dynamic evaluationTime;
  num? joinHumanId;
  String? humanName;
  String? createdDate;
  dynamic checkTime;
  num? humanId;
  String? createdBy;
  num? tenantId;
  num? saasId;
  dynamic humanTypeName;
  dynamic evaluate;
  String? humanType;
  String? placeName;
  num? age;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['registrationTime'] = registrationTime;
    map['joinHumanIds'] = joinHumanIds;
    map['updatedDate'] = updatedDate;
    map['cardNo'] = cardNo;
    map['activityId'] = activityId;
    map['isEvaluation'] = isEvaluation;
    map['checkStatus'] = checkStatus;
    map['evaluationScore'] = evaluationScore;
    map['deleteStatus'] = deleteStatus;
    map['id'] = id;
    map['registrationRemark'] = registrationRemark;
    map['branchId'] = branchId;
    map['regClientType'] = regClientType;
    map['updatedBy'] = updatedBy;
    map['roomNo'] = roomNo;
    map['activityTypeName'] = activityTypeName;
    map['sex'] = sex;
    map['mobile'] = mobile;
    map['activityName'] = activityName;
    map['activityNo'] = activityNo;
    map['evaluationTime'] = evaluationTime;
    map['joinHumanId'] = joinHumanId;
    map['humanName'] = humanName;
    map['createdDate'] = createdDate;
    map['checkTime'] = checkTime;
    map['humanId'] = humanId;
    map['createdBy'] = createdBy;
    map['tenantId'] = tenantId;
    map['saasId'] = saasId;
    map['humanTypeName'] = humanTypeName;
    map['evaluate'] = evaluate;
    map['humanType'] = humanType;
    map['placeName'] = placeName;
    map['age'] = age;
    return map;
  }


  String get iStatus => checkStatus==0?"未签到":"已签到";

}